<template>
  <el-form :model="value" inline>
    <el-row :gutter="10">
      <el-col :span="4">
        <el-form-item label="周期">
          <el-input v-model="value.month" placeholder>
            <template slot="append">月</template>
          </el-input>
        </el-form-item>
      </el-col>
      <el-col :span="4">
        <el-form-item label="准备（天数）">
          <el-input v-model="value.day" placeholder>
            <template slot="append">天</template>
          </el-input>
        </el-form-item>
      </el-col>
      <el-col :span="4">
        <el-form-item label="下一个日期">
          <el-input v-model="value.next_date" placeholder />
        </el-form-item>
      </el-col>
      <el-col :span="6">
        <el-form-item label="计量单位">
          <el-input v-model="value.unit" placeholder />
        </el-form-item>
      </el-col>
      <el-col :span="4">
        <el-form-item label="状态">
          <el-input v-model="value.status" placeholder />
        </el-form-item>
      </el-col>
      <el-col :span="2">
        <el-form-item label="操作">
          <el-button type="primary" size="mini">释放</el-button>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row :gutter="10">
      <el-col :span="4">
        <el-form-item label="仪器编号">
          <el-input v-model="value.coding" placeholder />
        </el-form-item>
      </el-col>
      <el-col :span="4">
        <el-form-item label="计量日期">
          <el-input v-model="value.date" placeholder disabled />
        </el-form-item>
      </el-col>
      <el-col :span="4">
        <el-form-item label="计量证书编号">
          <el-input v-model="value.cert" placeholder disabled />
        </el-form-item>
      </el-col>
    </el-row>
  </el-form>
</template>

<script>
export default {
  name: 'EquipmentInspect',
  props: {
    value: {
      type: Object,
      default() {
        return {}
      }
    }
  },
  data() {
    return {
    }
  },
  watch: {},
  created() {
  },
  methods: {}
}
</script>
